package kliment.flex.mx.controls {
	import mx.controls.DataGrid;
	import mx.core.IIMESupport;
	
	public class DataGridExt extends DataGrid implements IIMESupport {
		public function DataGridExt() {
			super();
			
		}
		
		public function get itemsList():Array {
			var result:Array = new Array();
			if (!dataProvider) 
				return result;
			
			var length:int = dataProvider.length;
			var list:Array = listItems;
			for (var i:int = 0; i < length; ++i) 
				result.push(list[i]);
			return result;
		}
	}
}